package com.xuwang.pojo;

import java.util.Date;

/**
    * 许可申请表
    */
public class ApplyG {
    /**
    * 许可申请id
    */
    private Integer id;

    /**
    * 申请类型（0为生产、1为餐饮经营）
    */
    private Integer type;

    /**
    * 企业id
    */
    private Integer companyId;

    /**
    * 申请日期
    */
    private Date applyTime;

    /**
    * 申请人名字
    */
    private String applyName;

    /**
    * 备注(先获取企业的)
    */
    private String remark;

    /**
    * 审核状态(-1为未通过审核，0为待审核，1为审核通过)
    */
    private Integer status;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public Date getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }

    public String getApplyName() {
        return applyName;
    }

    public void setApplyName(String applyName) {
        this.applyName = applyName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", type=").append(type);
        sb.append(", companyId=").append(companyId);
        sb.append(", applyTime=").append(applyTime);
        sb.append(", applyName=").append(applyName);
        sb.append(", remark=").append(remark);
        sb.append(", status=").append(status);
        sb.append("]");
        return sb.toString();
    }
}